home *** CD-ROM | disk | FTP | other *** search
Wrap
Text File | 1998-08-17 | 70.1 KB | 1,427 lines | [ TEXT/MPS ]
; ; File: Errors.a ; ; Contains: OSErr codes. ; ; Version: Technology: Mac OS 8 ; Release: Universal Interfaces 3.2 ; ; Copyright: © 1985-1998 by Apple Computer, Inc., all rights reserved ; ; Bugs?: For bug reports, consult the following page on ; the World Wide Web: ; ; http://developer.apple.com/bugreporter/ ; ; IF &TYPE('__ERRORS__') = 'UNDEFINED' THEN __ERRORS__ SET 1 IF &TYPE('__CONDITIONALMACROS__') = 'UNDEFINED' THEN include 'ConditionalMacros.a' ENDIF paramErr EQU -50 ;error in user parameter list noHardwareErr EQU -200 ;Sound Manager Error Returns notEnoughHardwareErr EQU -201 ;Sound Manager Error Returns userCanceledErr EQU -128 qErr EQU -1 ;queue element not found during deletion vTypErr EQU -2 ;invalid queue element corErr EQU -3 ;core routine number out of range unimpErr EQU -4 ;unimplemented core routine SlpTypeErr EQU -5 ;invalid queue element seNoDB EQU -8 ;no debugger installed to handle debugger command controlErr EQU -17 ;I/O System Errors statusErr EQU -18 ;I/O System Errors readErr EQU -19 ;I/O System Errors writErr EQU -20 ;I/O System Errors badUnitErr EQU -21 ;I/O System Errors unitEmptyErr EQU -22 ;I/O System Errors openErr EQU -23 ;I/O System Errors closErr EQU -24 ;I/O System Errors dRemovErr EQU -25 ;tried to remove an open driver dInstErr EQU -26 ;DrvrInstall couldn't find driver in resources abortErr EQU -27 ;IO call aborted by KillIO iIOAbortErr EQU -27 ;IO abort error (Printing Manager) notOpenErr EQU -28 ;Couldn't rd/wr/ctl/sts cause driver not opened unitTblFullErr EQU -29 ;unit table has no more entries dceExtErr EQU -30 ;dce extension error slotNumErr EQU -360 ;invalid slot # error gcrOnMFMErr EQU -400 ;gcr format on high density media error dirFulErr EQU -33 ;Directory full dskFulErr EQU -34 ;disk full nsvErr EQU -35 ;no such volume ioErr EQU -36 ;I/O error (bummers) bdNamErr EQU -37 ;there may be no bad names in the final system! fnOpnErr EQU -38 ;File not open eofErr EQU -39 ;End of file posErr EQU -40 ;tried to position to before start of file (r/w) mFulErr EQU -41 ;memory full (open) or file won't fit (load) tmfoErr EQU -42 ;too many files open fnfErr EQU -43 ;File not found wPrErr EQU -44 ;diskette is write protected. fLckdErr EQU -45 ;file is locked vLckdErr EQU -46 ;volume is locked fBsyErr EQU -47 ;File is busy (delete) dupFNErr EQU -48 ;duplicate filename (rename) opWrErr EQU -49 ;file already open with with write permission rfNumErr EQU -51 ;refnum error gfpErr EQU -52 ;get file position error volOffLinErr EQU -53 ;volume not on line error (was Ejected) permErr EQU -54 ;permissions error (on file open) volOnLinErr EQU -55 ;drive volume already on-line at MountVol nsDrvErr EQU -56 ;no such drive (tried to mount a bad drive num) noMacDskErr EQU -57 ;not a mac diskette (sig bytes are wrong) extFSErr EQU -58 ;volume in question belongs to an external fs fsRnErr EQU -59 ;file system internal error:during rename the old entry was deleted but could not be restored. badMDBErr EQU -60 ;bad master directory block wrPermErr EQU -61 ;write permissions error dirNFErr EQU -120 ;Directory not found tmwdoErr EQU -121 ;No free WDCB available badMovErr EQU -122 ;Move into offspring error wrgVolTypErr EQU -123 ;Wrong volume type error [operation not supported for MFS] volGoneErr EQU -124 ;Server volume has been disconnected. fidNotFound EQU -1300 ;no file thread exists. fidExists EQU -1301 ;file id already exists notAFileErr EQU -1302 ;directory specified diffVolErr EQU -1303 ;files on different volumes catChangedErr EQU -1304 ;the catalog has been modified desktopDamagedErr EQU -1305 ;desktop database files are corrupted sameFileErr EQU -1306 ;can't exchange a file with itself badFidErr EQU -1307 ;file id is dangling or doesn't match with the file number notARemountErr EQU -1308 ;when _Mount allows only remounts and doesn't get one fileBoundsErr EQU -1309 ;file's EOF, offset, mark or size is too big fsDataTooBigErr EQU -1310 ;file or volume is too big for system volVMBusyErr EQU -1311 ;can't eject because volume is in use by VM envNotPresent EQU -5500 ;returned by glue. envBadVers EQU -5501 ;Version non-positive envVersTooBig EQU -5502 ;Version bigger than call can handle fontDecError EQU -64 ;error during font declaration fontNotDeclared EQU -65 ;font not declared fontSubErr EQU -66 ;font substitution occured fontNotOutlineErr EQU -32615 ;bitmap font passed to routine that does outlines only firstDskErr EQU -84 ;I/O System Errors lastDskErr EQU -64 ;I/O System Errors noDriveErr EQU -64 ;drive not installed offLinErr EQU -65 ;r/w requested for an off-line drive noNybErr EQU -66 ;couldn't find 5 nybbles in 200 tries noAdrMkErr EQU -67 ;couldn't find valid addr mark dataVerErr EQU -68 ;read verify compare failed badCksmErr EQU -69 ;addr mark checksum didn't check badBtSlpErr EQU -70 ;bad addr mark bit slip nibbles noDtaMkErr EQU -71 ;couldn't find a data mark header badDCksum EQU -72 ;bad data mark checksum badDBtSlp EQU -73 ;bad data mark bit slip nibbles wrUnderrun EQU -74 ;write underrun occurred cantStepErr EQU -75 ;step handshake failed tk0BadErr EQU -76 ;track 0 detect doesn't change initIWMErr EQU -77 ;unable to initialize IWM twoSideErr EQU -78 ;tried to read 2nd side on a 1-sided drive spdAdjErr EQU -79 ;unable to correctly adjust disk speed seekErr EQU -80 ;track number wrong on address mark sectNFErr EQU -81 ;sector number never found on a track fmt1Err EQU -82 ;can't find sector 0 after track format fmt2Err EQU -83 ;can't get enough sync verErr EQU -84 ;track failed to verify clkRdErr EQU -85 ;unable to read same clock value twice clkWrErr EQU -86 ;time written did not verify prWrErr EQU -87 ;parameter ram written didn't read-verify prInitErr EQU -88 ;InitUtil found the parameter ram uninitialized rcvrErr EQU -89 ;SCC receiver error (framing; parity; OR) breakRecd EQU -90 ;Break received (SCC) ;Scrap Manager errors noScrapErr EQU -100 ;No scrap exists error noTypeErr EQU -102 ;No object of that type in scrap ; ENET error codes eLenErr EQU -92 ;Length error ddpLenErr eMultiErr EQU -91 ;Multicast address error ddpSktErr ddpSktErr EQU -91 ;error in soket number ddpLenErr EQU -92 ;data length too big noBridgeErr EQU -93 ;no network bridge for non-local send lapProtErr EQU -94 ;error in attaching/detaching protocol excessCollsns EQU -95 ;excessive collisions on write portNotPwr EQU -96 ;serial port not currently powered portInUse EQU -97 ;driver Open error code (port is in use) portNotCf EQU -98 ;driver Open error code (parameter RAM not configured for this connection) ; Memory Manager errors memROZWarn EQU -99 ;soft error in ROZ memROZError EQU -99 ;hard error in ROZ memROZErr EQU -99 ;hard error in ROZ memFullErr EQU -108 ;Not enough room in heap zone nilHandleErr EQU -109 ;Master Pointer was NIL in HandleZone or other memWZErr EQU -111 ;WhichZone failed (applied to free block) memPurErr EQU -112 ;trying to purge a locked or non-purgeable block memAdrErr EQU -110 ;address was odd; or out of range memAZErr EQU -113 ;Address in zone check failed memPCErr EQU -114 ;Pointer Check failed memBCErr EQU -115 ;Block Check failed memSCErr EQU -116 ;Size Check failed memLockedErr EQU -117 ;trying to move a locked block (MoveHHi) ; Printing Errors iMemFullErr EQU -108 iIOAbort EQU -27 resourceInMemory EQU -188 ;Resource already in memory writingPastEnd EQU -189 ;Writing past end of file inputOutOfBounds EQU -190 ;Offset of Count out of bounds resNotFound EQU -192 ;Resource not found resFNotFound EQU -193 ;Resource file not found addResFailed EQU -194 ;AddResource failed addRefFailed EQU -195 ;AddReference failed rmvResFailed EQU -196 ;RmveResource failed rmvRefFailed EQU -197 ;RmveReference failed resAttrErr EQU -198 ;attribute inconsistent with operation mapReadErr EQU -199 ;map inconsistent with operation CantDecompress EQU -186 ;resource bent ("the bends") - can't decompress a compressed resource badExtResource EQU -185 ;extended resource has a bad format. noMemForPictPlaybackErr EQU -145 rgnOverflowErr EQU -147 rgnTooBigError EQU -147 pixMapTooDeepErr EQU -148 insufficientStackErr EQU -149 nsStackErr EQU -149 evtNotEnb EQU 1 ;event not enabled at PostEvent ; OffScreen QuickDraw Errors cMatchErr EQU -150 ;Color2Index failed to find an index cTempMemErr EQU -151 ;failed to allocate memory for temporary structures cNoMemErr EQU -152 ;failed to allocate memory for structure cRangeErr EQU -153 ;range error on colorTable request cProtectErr EQU -154 ;colorTable entry protection violation cDevErr EQU -155 ;invalid type of graphics device cResErr EQU -156 ;invalid resolution for MakeITable cDepthErr EQU -157 ;invalid pixel depth rgnTooBigErr EQU -500 updPixMemErr EQU -125 ;insufficient memory to update a pixmap pictInfoVersionErr EQU -11000 ;wrong version of the PictInfo structure pictInfoIDErr EQU -11001 ;the internal consistancy check for the PictInfoID is wrong pictInfoVerbErr EQU -11002 ;the passed verb was invalid cantLoadPickMethodErr EQU -11003 ;unable to load the custom pick proc colorsRequestedErr EQU -11004 ;the number of colors requested was illegal pictureDataErr EQU -11005 ;the picture data was invalid ;Sound Manager errors noHardware EQU -200 ;obsolete spelling notEnoughHardware EQU -201 ;obsolete spelling queueFull EQU -203 ;Sound Manager Error Returns resProblem EQU -204 ;Sound Manager Error Returns badChannel EQU -205 ;Sound Manager Error Returns badFormat EQU -206 ;Sound Manager Error Returns notEnoughBufferSpace EQU -207 ;could not allocate enough memory badFileFormat EQU -208 ;was not type AIFF or was of bad format,corrupt channelBusy EQU -209 ;the Channel is being used for a PFD already buffersTooSmall EQU -210 ;can not operate in the memory allowed channelNotBusy EQU -211 noMoreRealTime EQU -212 ;not enough CPU cycles left to add another task siNoSoundInHardware EQU -220 ;no Sound Input hardware siBadSoundInDevice EQU -221 ;invalid index passed to SoundInGetIndexedDevice siNoBufferSpecified EQU -222 ;returned by synchronous SPBRecord if nil buffer passed siInvalidCompression EQU -223 ;invalid compression type siHardDriveTooSlow EQU -224 ;hard drive too slow to record to disk siInvalidSampleRate EQU -225 ;invalid sample rate siInvalidSampleSize EQU -226 ;invalid sample size siDeviceBusyErr EQU -227 ;input device already in use siBadDeviceName EQU -228 ;input device could not be opened siBadRefNum EQU -229 ;invalid input device reference number siInputDeviceErr EQU -230 ;input device hardware failure siUnknownInfoType EQU -231 ;invalid info type selector (returned by driver) siUnknownQuality EQU -232 ;invalid quality selector (returned by driver) ; Speech Manager errors noSynthFound EQU -240 synthOpenFailed EQU -241 synthNotReady EQU -242 bufTooSmall EQU -243 voiceNotFound EQU -244 incompatibleVoice EQU -245 badDictFormat EQU -246 badInputText EQU -247 ; Midi Manager Errors: midiNoClientErr EQU -250 ;no client with that ID found midiNoPortErr EQU -251 ;no port with that ID found midiTooManyPortsErr EQU -252 ;too many ports already installed in the system midiTooManyConsErr EQU -253 ;too many connections made midiVConnectErr EQU -254 ;pending virtual connection created midiVConnectMade EQU -255 ;pending virtual connection resolved midiVConnectRmvd EQU -256 ;pending virtual connection removed midiNoConErr EQU -257 ;no connection exists between specified ports midiWriteErr EQU -258 ;MIDIWritePacket couldn't write to all connected ports midiNameLenErr EQU -259 ;name supplied is longer than 31 characters midiDupIDErr EQU -260 ;duplicate client ID midiInvalidCmdErr EQU -261 ;command not supported for port type nmTypErr EQU -299 ;Notification Manager:wrong queue type siInitSDTblErr EQU 1 ;slot int dispatch table could not be initialized. siInitVBLQsErr EQU 2 ;VBLqueues for all slots could not be initialized. siInitSPTblErr EQU 3 ;slot priority table could not be initialized. sdmJTInitErr EQU 10 ;SDM Jump Table could not be initialized. sdmInitErr EQU 11 ;SDM could not be initialized. sdmSRTInitErr EQU 12 ;Slot Resource Table could not be initialized. sdmPRAMInitErr EQU 13 ;Slot PRAM could not be initialized. sdmPriInitErr EQU 14 ;Cards could not be initialized. smSDMInitErr EQU -290 ;Error; SDM could not be initialized. smSRTInitErr EQU -291 ;Error; Slot Resource Table could not be initialized. smPRAMInitErr EQU -292 ;Error; Slot Resource Table could not be initialized. smPriInitErr EQU -293 ;Error; Cards could not be initialized. smEmptySlot EQU -300 ;No card in slot smCRCFail EQU -301 ;CRC check failed for declaration data smFormatErr EQU -302 ;FHeader Format is not Apple's smRevisionErr EQU -303 ;Wrong revison level smNoDir EQU -304 ;Directory offset is Nil smDisabledSlot EQU -305 ;This slot is disabled (-305 use to be smLWTstBad) smNosInfoArray EQU -306 ;No sInfoArray. Memory Mgr error. smResrvErr EQU -307 ;Fatal reserved error. Resreved field <> 0. smUnExBusErr EQU -308 ;Unexpected BusError smBLFieldBad EQU -309 ;ByteLanes field was bad. smFHBlockRdErr EQU -310 ;Error occured during _sGetFHeader. smFHBlkDispErr EQU -311 ;Error occured during _sDisposePtr (Dispose of FHeader block). smDisposePErr EQU -312 ;_DisposePointer error smNoBoardSRsrc EQU -313 ;No Board sResource. smGetPRErr EQU -314 ;Error occured during _sGetPRAMRec (See SIMStatus). smNoBoardId EQU -315 ;No Board Id. smInitStatVErr EQU -316 ;The InitStatusV field was negative after primary or secondary init. smInitTblVErr EQU -317 ;An error occured while trying to initialize the Slot Resource Table. smNoJmpTbl EQU -318 ;SDM jump table could not be created. smReservedSlot EQU -318 ;slot is reserved, VM should not use this address space. smBadBoardId EQU -319 ;BoardId was wrong; re-init the PRAM record. smBusErrTO EQU -320 ;BusError time out. ; These errors are logged in the vendor status field of the sInfo record. svTempDisable EQU -32768 ;Temporarily disable card but run primary init. svDisabled EQU -32640 ;Reserve range -32640 to -32768 for Apple temp disables. smBadRefId EQU -330 ;Reference Id not found in List smBadsList EQU -331 ;Bad sList: Id1 < Id2 < Id3 ...format is not followed. smReservedErr EQU -332 ;Reserved field not zero smCodeRevErr EQU -333 ;Code revision is wrong smCPUErr EQU -334 ;Code revision is wrong smsPointerNil EQU -335 ;LPointer is nil From sOffsetData. If this error occurs; check sInfo rec for more information. smNilsBlockErr EQU -336 ;Nil sBlock error (Dont allocate and try to use a nil sBlock) smSlotOOBErr EQU -337 ;Slot out of bounds error smSelOOBErr EQU -338 ;Selector out of bounds error smNewPErr EQU -339 ;_NewPtr error smBlkMoveErr EQU -340 ;_BlockMove error smCkStatusErr EQU -341 ;Status of slot = fail. smGetDrvrNamErr EQU -342 ;Error occured during _sGetDrvrName. smDisDrvrNamErr EQU -343 ;Error occured during _sDisDrvrName. smNoMoresRsrcs EQU -344 ;No more sResources smsGetDrvrErr EQU -345 ;Error occurred during _sGetDriver. smBadsPtrErr EQU -346 ;Bad pointer was passed to sCalcsPointer smByteLanesErr EQU -347 ;NumByteLanes was determined to be zero. smOffsetErr EQU -348 ;Offset was too big (temporary error smNoGoodOpens EQU -349 ;No opens were successfull in the loop. smSRTOvrFlErr EQU -350 ;SRT over flow. smRecNotFnd EQU -351 ;Record not found in the SRT. ;Dictionary Manager errors notBTree EQU -410 ;The file is not a dictionary. btNoSpace EQU -413 ;Can't allocate disk space. btDupRecErr EQU -414 ;Record already exists. btRecNotFnd EQU -415 ;Record cannot be found. btKeyLenErr EQU -416 ;Maximum key length is too long or equal to zero. btKeyAttrErr EQU -417 ;There is no such a key attribute. unknownInsertModeErr EQU -20000 ;There is no such an insert mode. recordDataTooBigErr EQU -20001 ;The record data is bigger than buffer size (1024 bytes). invalidIndexErr EQU -20002 ;The recordIndex parameter is not valid. ; Edition Mgr errors editionMgrInitErr EQU -450 ;edition manager not inited by this app badSectionErr EQU -451 ;not a valid SectionRecord notRegisteredSectionErr EQU -452 ;not a registered SectionRecord badEditionFileErr EQU -453 ;edition file is corrupt badSubPartErr EQU -454 ;can not use sub parts in this release multiplePublisherWrn EQU -460 ;A Publisher is already registered for that container containerNotFoundWrn EQU -461 ;could not find editionContainer at this time containerAlreadyOpenWrn EQU -462 ;container already opened by this section notThePublisherWrn EQU -463 ;not the first registered publisher for that container teScrapSizeErr EQU -501 ;scrap item too big for text edit record hwParamErr EQU -502 ;bad selector for _HWPriv ;Process Manager errors procNotFound EQU -600 ;no eligible process with specified descriptor memFragErr EQU -601 ;not enough room to launch app w/special requirements appModeErr EQU -602 ;memory mode is 32-bit, but app not 32-bit clean protocolErr EQU -603 ;app made module calls in improper order hardwareConfigErr EQU -604 ;hardware configuration not correct for call appMemFullErr EQU -605 ;application SIZE not big enough for launch appIsDaemon EQU -606 ;app is BG-only, and launch flags disallow this bufferIsSmall EQU -607 ;error returns from Post and Accept noOutstandingHLE EQU -608 connectionInvalid EQU -609 noUserInteractionAllowed EQU -610 ; no user interaction allowed ; Thread Manager Error Codes threadTooManyReqsErr EQU -617 threadNotFoundErr EQU -618 threadProtocolErr EQU -619 ; MemoryDispatch errors notEnoughMemoryErr EQU -620 ;insufficient physical memory notHeldErr EQU -621 ;specified range of memory is not held cannotMakeContiguousErr EQU -622 ;cannot make specified range contiguous notLockedErr EQU -623 ;specified range of memory is not locked interruptsMaskedErr EQU -624 ;don’t call with interrupts masked cannotDeferErr EQU -625 ;unable to defer additional functions noMMUErr EQU -626 ;no MMU present ; Database access error codes rcDBNull EQU -800 rcDBValue EQU -801 rcDBError EQU -802 rcDBBadType EQU -803 rcDBBreak EQU -804 rcDBExec EQU -805 rcDBBadSessID EQU -806 rcDBBadSessNum EQU -807 ; bad session number for DBGetConnInfo rcDBBadDDEV EQU -808 ; bad ddev specified on DBInit rcDBAsyncNotSupp EQU -809 ; ddev does not support async calls rcDBBadAsyncPB EQU -810 ; tried to kill a bad pb rcDBNoHandler EQU -811 ; no app handler for specified data type rcDBWrongVersion EQU -812 ; incompatible versions rcDBPackNotInited EQU -813 ; attempt to call other routine before InitDBPack ; Help Mgr error range: -850 to -874 hmHelpDisabled EQU -850 ; Show Balloons mode was off, call to routine ignored hmBalloonAborted EQU -853 ; Returned if mouse was moving or mouse wasn't in window port rect hmSameAsLastBalloon EQU -854 ; Returned from HMShowMenuBalloon if menu & item is same as last time hmHelpManagerNotInited EQU -855 ; Returned from HMGetHelpMenuHandle if help menu not setup hmSkippedBalloon EQU -857 ; Returned from calls if helpmsg specified a skip balloon hmWrongVersion EQU -858 ; Returned if help mgr resource was the wrong version hmUnknownHelpType EQU -859 ; Returned if help msg record contained a bad type hmOperationUnsupported EQU -861 ; Returned from HMShowBalloon call if bad method passed to routine hmNoBalloonUp EQU -862 ; Returned from HMRemoveBalloon if no balloon was visible when call was made hmCloseViewActive EQU -863 ; Returned from HMRemoveBalloon if CloseView was active ;PPC errors notInitErr EQU -900 ;PPCToolBox not initialized nameTypeErr EQU -902 ;Invalid or inappropriate locationKindSelector in locationName noPortErr EQU -903 ;Unable to open port or bad portRefNum. If you're calling ; AESend, this is because your application does not have ; the isHighLevelEventAware bit set in your SIZE resource. noGlobalsErr EQU -904 ;The system is hosed, better re-boot localOnlyErr EQU -905 ;Network activity is currently disabled destPortErr EQU -906 ;Port does not exist at destination sessTableErr EQU -907 ;Out of session tables, try again later noSessionErr EQU -908 ;Invalid session reference number badReqErr EQU -909 ;bad parameter or invalid state for operation portNameExistsErr EQU -910 ;port is already open (perhaps in another app) noUserNameErr EQU -911 ;user name unknown on destination machine userRejectErr EQU -912 ;Destination rejected the session request noMachineNameErr EQU -913 ;user hasn't named his Macintosh in the Network Setup Control Panel noToolboxNameErr EQU -914 ;A system resource is missing, not too likely noResponseErr EQU -915 ;unable to contact destination portClosedErr EQU -916 ;port was closed sessClosedErr EQU -917 ;session was closed badPortNameErr EQU -919 ;PPCPortRec malformed noDefaultUserErr EQU -922 ;user hasn't typed in owners name in Network Setup Control Pannel notLoggedInErr EQU -923 ;The default userRefNum does not yet exist noUserRefErr EQU -924 ;unable to create a new userRefNum networkErr EQU -925 ;An error has occured in the network, not too likely noInformErr EQU -926 ;PPCStart failed because destination did not have inform pending authFailErr EQU -927 ;unable to authenticate user at destination noUserRecErr EQU -928 ;Invalid user reference number badServiceMethodErr EQU -930 ;illegal service type, or not supported badLocNameErr EQU -931 ;location name malformed guestNotAllowedErr EQU -932 ;destination port requires authentication noMaskFoundErr EQU -1000 ;Icon Utilties Error nbpBuffOvr EQU -1024 ;Buffer overflow in LookupName nbpNoConfirm EQU -1025 nbpConfDiff EQU -1026 ;Name confirmed at different socket nbpDuplicate EQU -1027 ;Duplicate name exists already nbpNotFound EQU -1028 ;Name not found on remove nbpNISErr EQU -1029 ;Error trying to open the NIS aspBadVersNum EQU -1066 ;Server cannot support this ASP version aspBufTooSmall EQU -1067 ;Buffer too small aspNoMoreSess EQU -1068 ;No more sessions on server aspNoServers EQU -1069 ;No servers at that address aspParamErr EQU -1070 ;Parameter error aspServerBusy EQU -1071 ;Server cannot open another session aspSessClosed EQU -1072 ;Session closed aspSizeErr EQU -1073 ;Command block too big aspTooMany EQU -1074 ;Too many clients (server error) aspNoAck EQU -1075 ;No ack on attention request (server err) reqFailed EQU -1096 tooManyReqs EQU -1097 tooManySkts EQU -1098 badATPSkt EQU -1099 badBuffNum EQU -1100 noRelErr EQU -1101 cbNotFound EQU -1102 noSendResp EQU -1103 noDataArea EQU -1104 reqAborted EQU -1105 ; ADSP Error Codes ; driver control ioResults errRefNum EQU -1280 ; bad connection refNum errAborted EQU -1279 ; control call was aborted errState EQU -1278 ; bad connection state for this operation errOpening EQU -1277 ; open connection request failed errAttention EQU -1276 ; attention message too long errFwdReset EQU -1275 ; read terminated by forward reset errDSPQueueSize EQU -1274 ; DSP Read/Write Queue Too small errOpenDenied EQU -1273 ; open connection request was denied ; -------------------------------------------------------------- ; Apple event manager error messages ;-------------------------------------------------------------- errAECoercionFail EQU -1700 ; bad parameter data or unable to coerce the data supplied errAEDescNotFound EQU -1701 errAECorruptData EQU -1702 errAEWrongDataType EQU -1703 errAENotAEDesc EQU -1704 errAEBadListItem EQU -1705 ; the specified list item does not exist errAENewerVersion EQU -1706 ; need newer version of the AppleEvent manager errAENotAppleEvent EQU -1707 ; the event is not in AppleEvent format errAEEventNotHandled EQU -1708 ; the AppleEvent was not handled by any handler errAEReplyNotValid EQU -1709 ; AEResetTimer was passed an invalid reply parameter errAEUnknownSendMode EQU -1710 ; mode wasn't NoReply, WaitReply, or QueueReply or Interaction level is unknown errAEWaitCanceled EQU -1711 ; in AESend, the user cancelled out of wait loop for reply or receipt errAETimeout EQU -1712 ; the AppleEvent timed out errAENoUserInteraction EQU -1713 ; no user interaction is allowed errAENotASpecialFunction EQU -1714 ; there is no special function for/with this keyword errAEParamMissed EQU -1715 ; a required parameter was not accessed errAEUnknownAddressType EQU -1716 ; the target address type is not known errAEHandlerNotFound EQU -1717 ; no handler in the dispatch tables fits the parameters to AEGetEventHandler or AEGetCoercionHandler errAEReplyNotArrived EQU -1718 ; the contents of the reply you are accessing have not arrived yet errAEIllegalIndex EQU -1719 ; index is out of range in a put operation errAEImpossibleRange EQU -1720 ; A range like 3rd to 2nd, or 1st to all. errAEWrongNumberArgs EQU -1721 ; Logical op kAENOT used with other than 1 term errAEAccessorNotFound EQU -1723 ; Accessor proc matching wantClass and containerType or wildcards not found errAENoSuchLogical EQU -1725 ; Something other than AND, OR, or NOT errAEBadTestKey EQU -1726 ; Test is neither typeLogicalDescriptor nor typeCompDescriptor errAENotAnObjSpec EQU -1727 ; Param to AEResolve not of type 'obj ' errAENoSuchObject EQU -1728 ; e.g.,: specifier asked for the 3rd, but there are only 2. Basically, this indicates a run-time resolution error. errAENegativeCount EQU -1729 ; CountProc returned negative value errAEEmptyListContainer EQU -1730 ; Attempt to pass empty list as container to accessor errAEUnknownObjectType EQU -1731 ; available only in version 1.0.1 or greater errAERecordingIsAlreadyOn EQU -1732 ; available only in version 1.0.1 or greater errAEReceiveTerminate EQU -1733 ; break out of all levels of AEReceive to the topmost (1.1 or greater) errAEReceiveEscapeCurrent EQU -1734 ; break out of only lowest level of AEReceive (1.1 or greater) errAEEventFiltered EQU -1735 ; event has been filtered, and should not be propogated (1.1 or greater) errAEDuplicateHandler EQU -1736 ; attempt to install handler in table for identical class and id (1.1 or greater) errAEStreamBadNesting EQU -1737 ; nesting violation while streaming errAEStreamAlreadyConverted EQU -1738 ; attempt to convert a stream that has already been converted errAEDescIsNull EQU -1739 ; attempting to perform an invalid operation on a null descriptor errOSASystemError EQU -1750 errOSAInvalidID EQU -1751 errOSABadStorageType EQU -1752 errOSAScriptError EQU -1753 errOSABadSelector EQU -1754 errOSASourceNotAvailable EQU -1756 errOSANoSuchDialect EQU -1757 errOSADataFormatObsolete EQU -1758 errOSADataFormatTooNew EQU -1759 errOSACorruptData EQU -1702 errOSARecordingIsAlreadyOn EQU -1732 errOSAComponentMismatch EQU -1761 ; Parameters are from 2 different components errOSACantOpenComponent EQU -1762 ; Can't connect to scripting system with that ID ; AppleEvent error definitions errOffsetInvalid EQU -1800 errOffsetIsOutsideOfView EQU -1801 errTopOfDocument EQU -1810 errTopOfBody EQU -1811 errEndOfDocument EQU -1812 errEndOfBody EQU -1813 ; Drag Manager error codes badDragRefErr EQU -1850 ; unknown drag reference badDragItemErr EQU -1851 ; unknown drag item reference badDragFlavorErr EQU -1852 ; unknown flavor type duplicateFlavorErr EQU -1853 ; flavor type already exists cantGetFlavorErr EQU -1854 ; error while trying to get flavor data duplicateHandlerErr EQU -1855 ; handler already exists handlerNotFoundErr EQU -1856 ; handler not found dragNotAcceptedErr EQU -1857 ; drag was not accepted by receiver unsupportedForPlatformErr EQU -1858 ; call is for PowerPC only noSuitableDisplaysErr EQU -1859 ; no displays support translucency badImageRgnErr EQU -1860 ; bad translucent image region badImageErr EQU -1861 ; bad translucent image PixMap ; QuickTime errors couldNotResolveDataRef EQU -2000 badImageDescription EQU -2001 badPublicMovieAtom EQU -2002 cantFindHandler EQU -2003 cantOpenHandler EQU -2004 badComponentType EQU -2005 noMediaHandler EQU -2006 noDataHandler EQU -2007 invalidMedia EQU -2008 invalidTrack EQU -2009 invalidMovie EQU -2010 invalidSampleTable EQU -2011 invalidDataRef EQU -2012 invalidHandler EQU -2013 invalidDuration EQU -2014 invalidTime EQU -2015 cantPutPublicMovieAtom EQU -2016 badEditList EQU -2017 mediaTypesDontMatch EQU -2018 progressProcAborted EQU -2019 movieToolboxUninitialized EQU -2020 noRecordOfApp EQU -2020 ; replica wfFileNotFound EQU -2021 cantCreateSingleForkFile EQU -2022 ; happens when file already exists invalidEditState EQU -2023 nonMatchingEditState EQU -2024 staleEditState EQU -2025 userDataItemNotFound EQU -2026 maxSizeToGrowTooSmall EQU -2027 badTrackIndex EQU -2028 trackIDNotFound EQU -2029 trackNotInMovie EQU -2030 timeNotInTrack EQU -2031 timeNotInMedia EQU -2032 badEditIndex EQU -2033 internalQuickTimeError EQU -2034 cantEnableTrack EQU -2035 invalidRect EQU -2036 invalidSampleNum EQU -2037 invalidChunkNum EQU -2038 invalidSampleDescIndex EQU -2039 invalidChunkCache EQU -2040 invalidSampleDescription EQU -2041 dataNotOpenForRead EQU -2042 dataNotOpenForWrite EQU -2043 dataAlreadyOpenForWrite EQU -2044 dataAlreadyClosed EQU -2045 endOfDataReached EQU -2046 dataNoDataRef EQU -2047 noMovieFound EQU -2048 invalidDataRefContainer EQU -2049 badDataRefIndex EQU -2050 noDefaultDataRef EQU -2051 couldNotUseAnExistingSample EQU -2052 featureUnsupported EQU -2053 noVideoTrackInMovieErr EQU -2054 ; QT for Windows error noSoundTrackInMovieErr EQU -2055 ; QT for Windows error soundSupportNotAvailableErr EQU -2056 ; QT for Windows error unsupportedAuxiliaryImportData EQU -2057 auxiliaryExportDataUnavailable EQU -2058 samplesAlreadyInMediaErr EQU -2059 noSourceTreeFoundErr EQU -2060 sourceNotFoundErr EQU -2061 movieTextNotFoundErr EQU -2062 missingRequiredParameterErr EQU -2063 invalidSpriteWorldPropertyErr EQU -2064 invalidSpritePropertyErr EQU -2065 gWorldsNotSameDepthAndSizeErr EQU -2066 invalidSpriteIndexErr EQU -2067 invalidImageIndexErr EQU -2068 invalidSpriteIDErr EQU -2069 internalComponentErr EQU -2070 notImplementedMusicOSErr EQU -2071 cantSendToSynthesizerOSErr EQU -2072 cantReceiveFromSynthesizerOSErr EQU -2073 illegalVoiceAllocationOSErr EQU -2074 illegalPartOSErr EQU -2075 illegalChannelOSErr EQU -2076 illegalKnobOSErr EQU -2077 illegalKnobValueOSErr EQU -2078 illegalInstrumentOSErr EQU -2079 illegalControllerOSErr EQU -2080 midiManagerAbsentOSErr EQU -2081 synthesizerNotRespondingOSErr EQU -2082 synthesizerOSErr EQU -2083 illegalNoteChannelOSErr EQU -2084 noteChannelNotAllocatedOSErr EQU -2085 tunePlayerFullOSErr EQU -2086 tuneParseOSErr EQU -2087 noExportProcAvailableErr EQU -2089 videoOutputInUseErr EQU -2090 componentDllLoadErr EQU -2091 ; Windows specific errors (when component is loading) componentDllEntryNotFoundErr EQU -2092 ; Windows specific errors (when component is loading) qtmlDllLoadErr EQU -2093 ; Windows specific errors (when qtml is loading) qtmlDllEntryNotFoundErr EQU -2094 ; Windows specific errors (when qtml is loading) qtmlUninitialized EQU -2095 unsupportedOSErr EQU -2096 unsupportedProcessorErr EQU -2097 cannotFindAtomErr EQU -2101 notLeafAtomErr EQU -2102 atomsNotOfSameTypeErr EQU -2103 atomIndexInvalidErr EQU -2104 duplicateAtomTypeAndIDErr EQU -2105 invalidAtomErr EQU -2106 invalidAtomContainerErr EQU -2107 invalidAtomTypeErr EQU -2108 cannotBeLeafAtomErr EQU -2109 digiUnimpErr EQU -2201 ; feature unimplemented qtParamErr EQU -2202 ; bad input parameter (out of range, etc) matrixErr EQU -2203 ; bad matrix, digitizer did nothing notExactMatrixErr EQU -2204 ; warning of bad matrix, digitizer did its best noMoreKeyColorsErr EQU -2205 ; all key indexes in use notExactSizeErr EQU -2206 ; Can’t do exact size requested badDepthErr EQU -2207 ; Can’t digitize into this depth noDMAErr EQU -2208 ; Can’t do DMA digitizing (i.e. can't go to requested dest badCallOrderErr EQU -2209 ; Usually due to a status call being called prior to being setup first ; Kernel Error Codes kernelIncompleteErr EQU -2401 kernelCanceledErr EQU -2402 kernelOptionsErr EQU -2403 kernelPrivilegeErr EQU -2404 kernelUnsupportedErr EQU -2405 kernelObjectExistsErr EQU -2406 kernelWritePermissionErr EQU -2407 kernelReadPermissionErr EQU -2408 kernelExecutePermissionErr EQU -2409 kernelDeletePermissionErr EQU -2410 kernelExecutionLevelErr EQU -2411 kernelAttributeErr EQU -2412 kernelAsyncSendLimitErr EQU -2413 kernelAsyncReceiveLimitErr EQU -2414 kernelTimeoutErr EQU -2415 kernelInUseErr EQU -2416 kernelTerminatedErr EQU -2417 kernelExceptionErr EQU -2418 kernelIDErr EQU -2419 kernelAlreadyFreeErr EQU -2421 kernelReturnValueErr EQU -2422 kernelUnrecoverableErr EQU -2499 ; Text Services Mgr error codes tsmComponentNoErr EQU 0 ; component result = no error tsmUnsupScriptLanguageErr EQU -2500 tsmInputMethodNotFoundErr EQU -2501 tsmNotAnAppErr EQU -2502 ; not an application error tsmAlreadyRegisteredErr EQU -2503 ; want to register again error tsmNeverRegisteredErr EQU -2504 ; app never registered error (not TSM aware) tsmInvalidDocIDErr EQU -2505 ; invalid TSM documentation id tsmTSMDocBusyErr EQU -2506 ; document is still active tsmDocNotActiveErr EQU -2507 ; document is NOT active tsmNoOpenTSErr EQU -2508 ; no open text service tsmCantOpenComponentErr EQU -2509 ; can’t open the component tsmTextServiceNotFoundErr EQU -2510 ; no text service found tsmDocumentOpenErr EQU -2511 ; there are open documents tsmUseInputWindowErr EQU -2512 ; not TSM aware because we are using input window tsmTSHasNoMenuErr EQU -2513 ; the text service has no menu tsmTSNotOpenErr EQU -2514 ; text service is not open tsmComponentAlreadyOpenErr EQU -2515 ; text service already opened for the document tsmInputMethodIsOldErr EQU -2516 ; returned by GetDefaultInputMethod tsmScriptHasNoIMErr EQU -2517 ; script has no imput method or is using old IM tsmUnsupportedTypeErr EQU -2518 ; unSupported interface type error tsmUnknownErr EQU -2519 ; any other errors tsmInvalidContext EQU -2520 ; Invalid TSMContext specified in call tsmNoHandler EQU -2521 ; No Callback Handler exists for callback tsmNoMoreTokens EQU -2522 ; No more tokens are available for the source text tsmNoStem EQU -2523 ; No stem exists for the token tsmDefaultIsNotInputMethodErr EQU -2524 ; Current Input source is KCHR or uchr, not Input Method (GetDefaultInputMethod) ; Mixed Mode error codes mmInternalError EQU -2526 ; NameRegistry error codes nrLockedErr EQU -2536 nrNotEnoughMemoryErr EQU -2537 nrInvalidNodeErr EQU -2538 nrNotFoundErr EQU -2539 nrNotCreatedErr EQU -2540 nrNameErr EQU -2541 nrNotSlotDeviceErr EQU -2542 nrDataTruncatedErr EQU -2543 nrPowerErr EQU -2544 nrPowerSwitchAbortErr EQU -2545 nrTypeMismatchErr EQU -2546 nrNotModifiedErr EQU -2547 nrOverrunErr EQU -2548 nrResultCodeBase EQU -2549 nrPathNotFound EQU -2550 ; a path component lookup failed nrPathBufferTooSmall EQU -2551 ; buffer for path is too small nrInvalidEntryIterationOp EQU -2552 ; invalid entry iteration operation nrPropertyAlreadyExists EQU -2553 ; property already exists nrIterationDone EQU -2554 ; iteration operation is done nrExitedIteratorScope EQU -2555 ; outer scope of iterator was exited nrTransactionAborted EQU -2556 ; transaction was aborted ; ************************************************************************** ; Apple Script Error Codes ;************************************************************************* ; Runtime errors: errASCantConsiderAndIgnore EQU -2720 errASCantCompareMoreThan32k EQU -2721 ; Parser/Compiler errors: errASTerminologyNestingTooDeep EQU -2760 errASIllegalFormalParameter EQU -2761 errASParameterNotForEvent EQU -2762 errASNoResultReturned EQU -2763 ; The range -2780 thru -2799 is reserved for dialect specific error codes. (Error codes from different dialects may overlap.) errASInconsistentNames EQU -2780 ; English errors: ; The preferred spelling for Code Fragment Manager errors: cfragFirstErrCode EQU -2800 ; The first value in the range of CFM errors. cfragContextIDErr EQU -2800 ; The context ID was not valid. cfragConnectionIDErr EQU -2801 ; The connection ID was not valid. cfragNoSymbolErr EQU -2802 ; The specified symbol was not found. cfragNoSectionErr EQU -2803 ; The specified section was not found. cfragNoLibraryErr EQU -2804 ; The named library was not found. cfragDupRegistrationErr EQU -2805 ; The registration name was already in use. cfragFragmentFormatErr EQU -2806 ; A fragment's container format is unknown. cfragUnresolvedErr EQU -2807 ; A fragment had "hard" unresolved imports. cfragNoPositionErr EQU -2808 ; The registration insertion point was not found. cfragNoPrivateMemErr EQU -2809 ; Out of memory for internal bookkeeping. cfragNoClientMemErr EQU -2810 ; Out of memory for fragment mapping or section instances. cfragNoIDsErr EQU -2811 ; No more CFM IDs for contexts, connections, etc. cfragInitOrderErr EQU -2812 ; cfragImportTooOldErr EQU -2813 ; An import library was too old for a client. cfragImportTooNewErr EQU -2814 ; An import library was too new for a client. cfragInitLoopErr EQU -2815 ; Circularity in required initialization order. cfragInitAtBootErr EQU -2816 ; A boot library has an initialization function. (System 7 only) cfragLibConnErr EQU -2817 ; cfragCFMStartupErr EQU -2818 ; Internal error during CFM initialization. cfragCFMInternalErr EQU -2819 ; An internal inconstistancy has been detected. cfragFragmentCorruptErr EQU -2820 ; A fragment's container was corrupt (known format). cfragInitFunctionErr EQU -2821 ; A fragment's initialization routine returned an error. cfragNoApplicationErr EQU -2822 ; No application member found in the cfrg resource. cfragArchitectureErr EQU -2823 ; A fragment has an unacceptable architecture. cfragFragmentUsageErr EQU -2824 ; A semantic error in usage of the fragment. cfragFileSizeErr EQU -2825 ; A file was too large to be mapped. cfragNotClosureErr EQU -2826 ; The closure ID was actually a connection ID. cfragNoRegistrationErr EQU -2827 ; The registration name was not found. cfragContainerIDErr EQU -2828 ; The fragment container ID was not valid. cfragClosureIDErr EQU -2829 ; The closure ID was not valid. cfragAbortClosureErr EQU -2830 ; Used by notification handlers to abort a closure. cfragOutputLengthErr EQU -2831 ; An output parameter is too small to hold the value. cfragLastErrCode EQU -2899 ; The last value in the range of CFM errors. IF OLDROUTINENAMES THEN ; The old spelling for Code Fragment Manager errors, kept for compatibility: fragContextNotFound EQU -2800 fragConnectionIDNotFound EQU -2801 fragSymbolNotFound EQU -2802 fragSectionNotFound EQU -2803 fragLibNotFound EQU -2804 fragDupRegLibName EQU -2805 fragFormatUnknown EQU -2806 fragHadUnresolveds EQU -2807 fragNoMem EQU -2809 fragNoAddrSpace EQU -2810 fragNoContextIDs EQU -2811 fragObjectInitSeqErr EQU -2812 fragImportTooOld EQU -2813 fragImportTooNew EQU -2814 fragInitLoop EQU -2815 fragInitRtnUsageErr EQU -2816 fragLibConnErr EQU -2817 fragMgrInitErr EQU -2818 fragConstErr EQU -2819 fragCorruptErr EQU -2820 fragUserInitProcErr EQU -2821 fragAppNotFound EQU -2822 fragArchError EQU -2823 fragInvalidFragmentUsage EQU -2824 fragLastErrCode EQU -2899 ENDIF ; OLDROUTINENAMES ; Component Manager & component errors invalidComponentID EQU -3000 validInstancesExist EQU -3001 componentNotCaptured EQU -3002 componentDontRegister EQU -3003 unresolvedComponentDLLErr EQU -3004 ; Translation manager & Translation components invalidTranslationPathErr EQU -3025 ;Source type to destination type not a valid path couldNotParseSourceFileErr EQU -3026 ;Source document does not contain source type noTranslationPathErr EQU -3030 badTranslationSpecErr EQU -3031 noPrefAppErr EQU -3032 buf2SmallErr EQU -3101 noMPPErr EQU -3102 ckSumErr EQU -3103 extractErr EQU -3104 readQErr EQU -3105 atpLenErr EQU -3106 atpBadRsp EQU -3107 recNotFnd EQU -3108 sktClosedErr EQU -3109 ; Color Picker errors firstPickerError EQU -4000 invalidPickerType EQU -4000 requiredFlagsDontMatch EQU -4001 pickerResourceError EQU -4002 cantLoadPicker EQU -4003 cantCreatePickerWindow EQU -4004 cantLoadPackage EQU -4005 pickerCantLive EQU -4006 colorSyncNotInstalled EQU -4007 badProfileError EQU -4008 noHelpForItem EQU -4009 ; new Folder Manager error codes badFolderDescErr EQU -4270 duplicateFolderDescErr EQU -4271 noMoreFolderDescErr EQU -4272 invalidFolderTypeErr EQU -4273 duplicateRoutingErr EQU -4274 routingNotFoundErr EQU -4275 badRoutingSizeErr EQU -4276 ; AFP Protocol Errors afpAccessDenied EQU -5000 ; Insufficient access privileges for operation afpAuthContinue EQU -5001 ; Further information required to complete AFPLogin call afpBadUAM EQU -5002 ; Unknown user authentication method specified afpBadVersNum EQU -5003 ; Unknown AFP protocol version number specified afpBitmapErr EQU -5004 ; Bitmap contained bits undefined for call afpCantMove EQU -5005 ; Move destination is offspring of source, or root was specified afpDenyConflict EQU -5006 ; Specified open/deny modes conflict with current open modes afpDirNotEmpty EQU -5007 ; Cannot delete non-empty directory afpDiskFull EQU -5008 ; Insufficient free space on volume for operation afpEofError EQU -5009 ; Read beyond logical end-of-file afpFileBusy EQU -5010 ; Cannot delete an open file afpFlatVol EQU -5011 ; Cannot create directory on specified volume afpItemNotFound EQU -5012 ; Unknown UserName/UserID or missing comment/APPL entry afpLockErr EQU -5013 ; Some or all of requested range is locked by another user afpMiscErr EQU -5014 ; Unexpected error encountered during execution afpNoMoreLocks EQU -5015 ; Maximum lock limit reached afpNoServer EQU -5016 ; Server not responding afpObjectExists EQU -5017 ; Specified destination file or directory already exists afpObjectNotFound EQU -5018 ; Specified file or directory does not exist afpParmErr EQU -5019 ; A specified parameter was out of allowable range afpRangeNotLocked EQU -5020 ; Tried to unlock range that was not locked by user afpRangeOverlap EQU -5021 ; Some or all of range already locked by same user afpSessClosed EQU -5022 ; Session closed afpUserNotAuth EQU -5023 ; No AFPLogin call has successfully been made for this session afpCallNotSupported EQU -5024 ; Unsupported AFP call was made afpObjectTypeErr EQU -5025 ; File/Directory specified where Directory/File expected afpTooManyFilesOpen EQU -5026 ; Maximum open file count reached afpServerGoingDown EQU -5027 ; Server is shutting down afpCantRename EQU -5028 ; AFPRename cannot rename volume afpDirNotFound EQU -5029 ; Unknown directory specified afpIconTypeError EQU -5030 ; Icon size specified different from existing icon size afpVolLocked EQU -5031 ; Volume is Read-Only afpObjectLocked EQU -5032 ; Object is M/R/D/W inhibited afpContainsSharedErr EQU -5033 ; the folder being shared contains a shared folder afpIDNotFound EQU -5034 afpIDExists EQU -5035 afpDiffVolErr EQU -5036 afpCatalogChanged EQU -5037 afpSameObjectErr EQU -5038 afpBadIDErr EQU -5039 afpPwdSameErr EQU -5040 ; Someone tried to change their password to the same password on a mantadory password change afpPwdTooShortErr EQU -5041 ; The password being set is too short: there is a minimum length that must be met or exceeded afpPwdExpiredErr EQU -5042 ; The password being used is too old: this requires the user to change the password before log-in can continue afpInsideSharedErr EQU -5043 ; The folder being shared is inside a shared folder OR the folder contains a shared folder and is being moved into a shared folder ; OR the folder contains a shared folder and is being moved into the descendent of a shared folder. afpInsideTrashErr EQU -5044 ; The folder being shared is inside the trash folder OR the shared folder is being moved into the trash folder ; OR the folder is being moved to the trash and it contains a shared folder afpPwdNeedsChangeErr EQU -5045 ; The password needs to be changed afpPwdPolicyErr EQU -5046 ; Password does not conform to servers password policy ; AppleShare Client Errors afpBadDirIDType EQU -5060 afpCantMountMoreSrvre EQU -5061 ; The Maximum number of server connections has been reached afpAlreadyMounted EQU -5062 ; The volume is already mounted afpSameNodeErr EQU -5063 ; An Attempt was made to connect to a file server running on the same machine ; Text Engines, TSystemTextEngines, HIEditText error coded errUnknownAttributeTag EQU -5240 errMarginWilllNotFit EQU -5241 errNotInImagingMode EQU -5242 errAlreadyInImagingMode EQU -5243 errEngineNotFound EQU -5244 errIteratorReachedEnd EQU -5245 errInvalidRange EQU -5246 errOffsetNotOnElementBounday EQU -5247 errNoHiliteText EQU -5248 errEmptyScrap EQU -5249 errReadOnlyText EQU -5250 errUnknownElement EQU -5251 errNonContiuousAttribute EQU -5252 errCannotUndo EQU -5253 ;Gestalt error codes gestaltUnknownErr EQU -5550 ;value returned if Gestalt doesn't know the answer gestaltUndefSelectorErr EQU -5551 ;undefined selector was passed to Gestalt gestaltDupSelectorErr EQU -5552 ;tried to add an entry that already existed gestaltLocationErr EQU -5553 ;gestalt function ptr wasn't in sysheap ; Collection Manager errors collectionItemLockedErr EQU -5750 collectionItemNotFoundErr EQU -5751 collectionIndexRangeErr EQU -5752 collectionVersionErr EQU -5753 ; Display Manager error codes (-6220...-6269) kDMGenErr EQU -6220 ;Unexpected Error ; Mirroring-Specific Errors kDMMirroringOnAlready EQU -6221 ;Returned by all calls that need mirroring to be off to do their thing. kDMWrongNumberOfDisplays EQU -6222 ;Can only handle 2 displays for now. kDMMirroringBlocked EQU -6223 ;DMBlockMirroring() has been called. kDMCantBlock EQU -6224 ;Mirroring is already on, can’t Block now (call DMUnMirror() first). kDMMirroringNotOn EQU -6225 ;Returned by all calls that need mirroring to be on to do their thing. ; Other Display Manager Errors kSysSWTooOld EQU -6226 ;Missing critical pieces of System Software. kDMSWNotInitializedErr EQU -6227 ;Required software not initialized (eg windowmanager or display mgr). kDMDriverNotDisplayMgrAwareErr EQU -6228 ;Video Driver does not support display manager. kDMDisplayNotFoundErr EQU -6229 ;Could not find item (will someday remove). kDMNotFoundErr EQU -6229 ;Could not find item. kDMDisplayAlreadyInstalledErr EQU -6230 ;Attempt to add an already installed display. kDMMainDisplayCannotMoveErr EQU -6231 ;Trying to move main display (or a display mirrored to it) kDMNoDeviceTableclothErr EQU -6231 ;obsolete kDMFoundErr EQU -6232 ;Did not proceed because we found an item ; Error & status codes for general text and text encoding conversion ; general text errors kTextUnsupportedEncodingErr EQU -8738 ; specified encoding not supported for this operation kTextMalformedInputErr EQU -8739 ; in DBCS, for example, high byte followed by invalid low byte kTextUndefinedElementErr EQU -8740 ; text conversion errors kTECMissingTableErr EQU -8745 kTECTableChecksumErr EQU -8746 kTECTableFormatErr EQU -8747 kTECCorruptConverterErr EQU -8748 ; invalid converter object reference kTECNoConversionPathErr EQU -8749 kTECBufferBelowMinimumSizeErr EQU -8750 ; output buffer too small to allow processing of first input text element kTECArrayFullErr EQU -8751 ; supplied name buffer or TextRun, TextEncoding, or UnicodeMapping array is too small kTECBadTextRunErr EQU -8752 kTECPartialCharErr EQU -8753 ; input buffer ends in the middle of a multibyte character, conversion stopped kTECUnmappableElementErr EQU -8754 kTECIncompleteElementErr EQU -8755 ; text element may be incomplete or is too long for internal buffers kTECDirectionErr EQU -8756 ; direction stack overflow, etc. kTECGlobalsUnavailableErr EQU -8770 ; globals have already been deallocated (premature TERM) kTECItemUnavailableErr EQU -8771 ; item (e.g. name) not available for specified region (& encoding if relevant) ; text conversion status codes kTECUsedFallbacksStatus EQU -8783 kTECNeedFlushStatus EQU -8784 kTECOutputBufferFullStatus EQU -8785 ; output buffer has no room for conversion of next input text element (partial conversion) ; deprecated error & status codes for low-level converter unicodeChecksumErr EQU -8769 unicodeNoTableErr EQU -8768 unicodeVariantErr EQU -8767 unicodeFallbacksErr EQU -8766 unicodePartConvertErr EQU -8765 unicodeBufErr EQU -8764 unicodeCharErr EQU -8763 unicodeElementErr EQU -8762 unicodeNotFoundErr EQU -8761 unicodeTableFormatErr EQU -8760 unicodeDirectionErr EQU -8759 unicodeContextualErr EQU -8758 unicodeTextEncodingDataErr EQU -8757 codecErr EQU -8960 noCodecErr EQU -8961 codecUnimpErr EQU -8962 codecSizeErr EQU -8963 codecScreenBufErr EQU -8964 codecImageBufErr EQU -8965 codecSpoolErr EQU -8966 codecAbortErr EQU -8967 codecWouldOffscreenErr EQU -8968 codecBadDataErr EQU -8969 codecDataVersErr EQU -8970 codecExtensionNotFoundErr EQU -8971 scTypeNotFoundErr EQU -8971 codecConditionErr EQU -8972 codecOpenErr EQU -8973 codecCantWhenErr EQU -8974 codecCantQueueErr EQU -8975 codecNothingToBlitErr EQU -8976 codecNoMemoryPleaseWaitErr EQU -8977 codecDisabledErr EQU -8978 ; codec disabled itself -- pass codecFlagReenable to reset codecNeedToFlushChainErr EQU -8979 lockPortBitsBadSurfaceErr EQU -8980 lockPortBitsWindowMovedErr EQU -8981 lockPortBitsWindowResizedErr EQU -8982 lockPortBitsWindowClippedErr EQU -8983 lockPortBitsBadPortErr EQU -8984 lockPortBitsSurfaceLostErr EQU -8985 codecParameterDialogConfirm EQU -8986 codecNeedAccessKeyErr EQU -8987 ; codec needs password in order to decompress codecOffscreenFailedErr EQU -8988 codecDroppedFrameErr EQU -8989 ; returned from ImageCodecDrawBand noDeviceForChannel EQU -9400 grabTimeComplete EQU -9401 cantDoThatInCurrentMode EQU -9402 notEnoughMemoryToGrab EQU -9403 notEnoughDiskSpaceToGrab EQU -9404 couldntGetRequiredComponent EQU -9405 badSGChannel EQU -9406 seqGrabInfoNotAvailable EQU -9407 deviceCantMeetRequest EQU -9408 badControllerHeight EQU -9994 editingNotAllowed EQU -9995 controllerBoundsNotExact EQU -9996 cannotSetWidthOfAttachedController EQU -9997 controllerHasFixedHeight EQU -9998 cannotMoveAttachedController EQU -9999 ; AERegistry Errors errAEBadKeyForm EQU -10002 errAECantHandleClass EQU -10010 errAECantSupplyType EQU -10009 errAECantUndo EQU -10015 errAEEventFailed EQU -10000 errAEIndexTooLarge EQU -10007 errAEInTransaction EQU -10011 errAELocalOnly EQU -10016 errAENoSuchTransaction EQU -10012 errAENotAnElement EQU -10008 errAENotASingleObject EQU -10014 errAENotModifiable EQU -10003 errAENoUserSelection EQU -10013 errAEPrivilegeError EQU -10004 errAEReadDenied EQU -10005 errAETypeError EQU -10001 errAEWriteDenied EQU -10006 errAENotAnEnumMember EQU -10023 ; enumerated value in SetData is not allowed for this property errAECantPutThatThere EQU -10024 ; in make new, duplicate, etc. class can't be an element of container errAEPropertiesClash EQU -10025 ; illegal combination of properties settings for Set Data, make new, or duplicate ; TELErr telGenericError EQU -1 telNoErr EQU 0 telNoTools EQU 8 ; no telephone tools found in extension folder telBadTermErr EQU -10001 ; invalid TELHandle or handle not found telBadDNErr EQU -10002 ; TELDNHandle not found or invalid telBadCAErr EQU -10003 ; TELCAHandle not found or invalid telBadHandErr EQU -10004 ; bad handle specified telBadProcErr EQU -10005 ; bad msgProc specified telCAUnavail EQU -10006 ; a CA is not available telNoMemErr EQU -10007 ; no memory to allocate handle telNoOpenErr EQU -10008 ; unable to open terminal telBadHTypeErr EQU -10010 ; bad hook type specified telHTypeNotSupp EQU -10011 ; hook type not supported by this tool telBadLevelErr EQU -10012 ; bad volume level setting telBadVTypeErr EQU -10013 ; bad volume type error telVTypeNotSupp EQU -10014 ; volume type not supported by this tool telBadAPattErr EQU -10015 ; bad alerting pattern specified telAPattNotSupp EQU -10016 ; alerting pattern not supported by tool telBadIndex EQU -10017 ; bad index specified telIndexNotSupp EQU -10018 ; index not supported by this tool telBadStateErr EQU -10019 ; bad device state specified telStateNotSupp EQU -10020 ; device state not supported by tool telBadIntExt EQU -10021 ; bad internal external error telIntExtNotSupp EQU -10022 ; internal external type not supported by this tool telBadDNDType EQU -10023 ; bad DND type specified telDNDTypeNotSupp EQU -10024 ; DND type is not supported by this tool telFeatNotSub EQU -10030 ; feature not subscribed telFeatNotAvail EQU -10031 ; feature subscribed but not available telFeatActive EQU -10032 ; feature already active telFeatNotSupp EQU -10033 ; feature program call not supported by this tool telConfLimitErr EQU -10040 ; limit specified is too high for this configuration telConfNoLimit EQU -10041 ; no limit was specified but required telConfErr EQU -10042 ; conference was not prepared telConfRej EQU -10043 ; conference request was rejected telTransferErr EQU -10044 ; transfer not prepared telTransferRej EQU -10045 ; transfer request rejected telCBErr EQU -10046 ; call back feature not set previously telConfLimitExceeded EQU -10047 ; attempt to exceed switch conference limits telBadDNType EQU -10050 ; DN type invalid telBadPageID EQU -10051 ; bad page ID specified telBadIntercomID EQU -10052 ; bad intercom ID specified telBadFeatureID EQU -10053 ; bad feature ID specified telBadFwdType EQU -10054 ; bad fwdType specified telBadPickupGroupID EQU -10055 ; bad pickup group ID specified telBadParkID EQU -10056 ; bad park id specified telBadSelect EQU -10057 ; unable to select or deselect DN telBadBearerType EQU -10058 ; bad bearerType specified telBadRate EQU -10059 ; bad rate specified telDNTypeNotSupp EQU -10060 ; DN type not supported by tool telFwdTypeNotSupp EQU -10061 ; forward type not supported by tool telBadDisplayMode EQU -10062 ; bad display mode specified telDisplayModeNotSupp EQU -10063 ; display mode not supported by tool telNoCallbackRef EQU -10064 ; no call back reference was specified, but is required telAlreadyOpen EQU -10070 ; terminal already open telStillNeeded EQU -10071 ; terminal driver still needed by someone else telTermNotOpen EQU -10072 ; terminal not opened via TELOpenTerm telCANotAcceptable EQU -10080 ; CA not "acceptable" telCANotRejectable EQU -10081 ; CA not "rejectable" telCANotDeflectable EQU -10082 ; CA not "deflectable" telPBErr EQU -10090 ; parameter block error, bad format telBadFunction EQU -10091 ; bad msgCode specified ; telNoTools = -10101, unable to find any telephone tools telNoSuchTool EQU -10102 ; unable to find tool with name specified telUnknownErr EQU -10103 ; unable to set config telNoCommFolder EQU -10106 ; Communications/Extensions ƒ not found telInitFailed EQU -10107 ; initialization failed telBadCodeResource EQU -10108 ; code resource not found telDeviceNotFound EQU -10109 ; device not found telBadProcID EQU -10110 ; invalid procID telValidateFailed EQU -10111 ; telValidate failed telAutoAnsNotOn EQU -10112 ; autoAnswer in not turned on telDetAlreadyOn EQU -10113 ; detection is already turned on telBadSWErr EQU -10114 ; Software not installed properly telBadSampleRate EQU -10115 ; incompatible sample rate telNotEnoughdspBW EQU -10116 ; not enough real-time for allocation ;Power Manager Errors pmBusyErr EQU -13000 ;Power Mgr never ready to start handshake pmReplyTOErr EQU -13001 ;Timed out waiting for reply pmSendStartErr EQU -13002 ;during send, pmgr did not start hs pmSendEndErr EQU -13003 ;during send, pmgr did not finish hs pmRecvStartErr EQU -13004 ;during receive, pmgr did not start hs pmRecvEndErr EQU -13005 ;during receive, pmgr did not finish hs configured for this connection ; Possible errors from the PrinterStatus bottleneck printerStatusOpCodeNotSupportedErr EQU -25280 ; UnicodeUtilities error & status codes kUCOutputBufferTooSmall EQU -25340 ; Output buffer too small for Unicode string result ; MP (multiprocessor API) error codes kMPBlueBlockingErr EQU -29293 kMPNanokernelNeedsMemoryErr EQU -29294 kMPDeletedErr EQU -29295 kMPTimeoutErr EQU -29296 kMPTaskAbortedErr EQU -29297 kMPInsufficientResourcesErr EQU -29298 kMPInvalidIDErr EQU -29299 ; StringCompare error codes (in TextUtils range) kCollateAttributesNotFoundErr EQU -29500 kCollateInvalidOptions EQU -29501 kCollateMissingUnicodeTableErr EQU -29502 kCollateUnicodeConvertFailedErr EQU -29503 kCollatePatternNotFoundErr EQU -29504 kCollateInvalidChar EQU -29505 kCollateBufferTooSmall EQU -29506 kCollateInvalidCollationRef EQU -29507 ; TextObjects error codes textObjInvalidIndexErr EQU -29580 textObjBufferTooSmallErr EQU -29581 textObjObjectTooSmallErr EQU -29582 textObjTextConversionFailedErr EQU -29583 textObjMalformedObjectErr EQU -29584 textObjAnnotationNotFoundErr EQU -29585 textObjMoreAnnotationsErr EQU -29586 textObjLanguageChangedErr EQU -29587 textObjFontNotFoundErr EQU -29599 ; Locale Object Mgr errors localeNotFoundErr EQU -30001 localeObjectAttributeNotAvailErr EQU -30002 localeObjectNoNamesTableErr EQU -30005 localeBadReferenceErr EQU -30006 localeObjectNotFoundErr EQU -30007 localeObjectInvalidReferenceErr EQU -30008 localeObjectItemFoundIsLastErr EQU -30009 localeObjectNameAttributeConflictErr EQU -30010 localeObjectInvalidIteratorErr EQU -30020 localeObjectNoNameErr EQU -30021 localeObjectTagDataNotFoundErr EQU -30022 localeObjectCannotDeleteSystemObjectErr EQU -30023 localeCouldNotWriteLinkedObjectsErr EQU -30024 localeDuplicateErr EQU -30025 localeObjectDefaultValueNotAvailableErr EQU -30026 localeNoAssociatedDataTagsErr EQU -30027 ; Settings Manager (formerly known as Location Manager) Errors kALMInternalErr EQU -30049 kALMGroupNotFoundErr EQU -30048 kALMNoSuchModuleErr EQU -30047 kALMModuleCommunicationErr EQU -30046 kALMDuplicateModuleErr EQU -30045 kALMInstallationErr EQU -30044 kALMDeferSwitchErr EQU -30043 kALMRebootFlagsLevelErr EQU -30042 kALMLocationNotFoundErr EQU -30048 ; Old name ; QuickTime VR Errors notAQTVRMovieErr EQU -30540 constraintReachedErr EQU -30541 callNotSupportedByNodeErr EQU -30542 selectorNotSupportedByNodeErr EQU -30543 invalidNodeIDErr EQU -30544 invalidViewStateErr EQU -30545 timeNotInViewErr EQU -30546 propertyNotSupportedByNodeErr EQU -30547 settingNotSupportedByNodeErr EQU -30548 limitReachedErr EQU -30549 invalidNodeFormatErr EQU -30550 invalidHotSpotIDErr EQU -30551 noMemoryNodeFailedInitialize EQU -30552 streamingNodeNotReadyErr EQU -30553 badComponentInstance EQU $80008001 badComponentSelector EQU $80008002 dsBusError EQU 1 ;bus error dsAddressErr EQU 2 ;address error dsIllInstErr EQU 3 ;illegal instruction error dsZeroDivErr EQU 4 ;zero divide error dsChkErr EQU 5 ;check trap error dsOvflowErr EQU 6 ;overflow trap error dsPrivErr EQU 7 ;privilege violation error dsTraceErr EQU 8 ;trace mode error dsLineAErr EQU 9 ;line 1010 trap error dsLineFErr EQU 10 ;line 1111 trap error dsMiscErr EQU 11 ;miscellaneous hardware exception error dsCoreErr EQU 12 ;unimplemented core routine error dsIrqErr EQU 13 ;uninstalled interrupt error dsIOCoreErr EQU 14 ;IO Core Error dsLoadErr EQU 15 ;Segment Loader Error dsFPErr EQU 16 ;Floating point error dsNoPackErr EQU 17 ;package 0 not present dsNoPk1 EQU 18 ;package 1 not present dsNoPk2 EQU 19 ;package 2 not present dsNoPk3 EQU 20 ;package 3 not present dsNoPk4 EQU 21 ;package 4 not present dsNoPk5 EQU 22 ;package 5 not present dsNoPk6 EQU 23 ;package 6 not present dsNoPk7 EQU 24 ;package 7 not present dsMemFullErr EQU 25 ;out of memory! dsBadLaunch EQU 26 ;can't launch file dsFSErr EQU 27 ;file system map has been trashed dsStknHeap EQU 28 ;stack has moved into application heap negZcbFreeErr EQU 33 ;ZcbFree has gone negative dsFinderErr EQU 41 ;can't load the Finder error dsBadSlotInt EQU 51 ;unserviceable slot interrupt dsBadSANEOpcode EQU 81 ;bad opcode given to SANE Pack4 dsBadPatchHeader EQU 83 ;SetTrapAddress saw the “come-from” header menuPrgErr EQU 84 ;happens when a menu is purged dsMBarNFnd EQU 85 ;Menu Manager Errors dsHMenuFindErr EQU 86 ;Menu Manager Errors dsWDEFNotFound EQU 87 ;could not load WDEF dsCDEFNotFound EQU 88 ;could not load CDEF dsMDEFNotFound EQU 89 ;could not load MDEF dsNoFPU EQU 90 ;an FPU instruction was executed and the machine doesn’t have one dsNoPatch EQU 98 ;Can't patch for particular Model Mac dsBadPatch EQU 99 ;Can't load patch resource dsParityErr EQU 101 ;memory parity error dsOldSystem EQU 102 ;System is too old for this ROM ds32BitMode EQU 103 ;booting in 32-bit on a 24-bit sys dsNeedToWriteBootBlocks EQU 104 ;need to write new boot blocks dsNotEnoughRAMToBoot EQU 105 ;must have at least 1.5MB of RAM to boot 7.0 dsBufPtrTooLow EQU 106 ;bufPtr moved too far during boot dsVMDeferredFuncTableFull EQU 112 ;VM's DeferUserFn table is full dsVMBadBackingStore EQU 113 ;Error occurred while reading or writing the VM backing-store file dsCantHoldSystemHeap EQU 114 ;Unable to hold the system heap during boot dsSystemRequiresPowerPC EQU 116 ;Startup disk requires PowerPC dsGibblyMovedToDisabledFolder EQU 117 ; For debug builds only, signals that active gibbly was disabled during boot. dsUnBootableSystem EQU 118 ; Active system file will not boot on this system because it was designed only to boot from a CD. dsWriteToSupervisorStackGuardPage EQU 128 ;the supervisor stack overflowed into its guard page dsReinsert EQU 30 ;request user to reinsert off-line volume shutDownAlert EQU 42 ;handled like a shutdown error dsShutDownOrRestart EQU 20000 ;user choice between ShutDown and Restart dsSwitchOffOrRestart EQU 20001 ;user choice between switching off and Restart dsForcedQuit EQU 20002 ;allow the user to ExitToShell, return if Cancel dsRemoveDisk EQU 20003 ;request user to remove disk from manual eject drive dsDirtyDisk EQU 20004 ;request user to return a manually-ejected dirty disk dsShutDownOrResume EQU 20109 ;allow user to return to Finder or ShutDown dsSCSIWarn EQU 20010 ;Portable SCSI adapter warning. dsMBSysError EQU 29200 ;Media Bay replace warning. dsMBFlpySysError EQU 29201 ;Media Bay, floppy replace warning. dsMBATASysError EQU 29202 ;Media Bay, ATA replace warning. dsMBATAPISysError EQU 29203 ;Media Bay, ATAPI replace warning... dsMBExternFlpySysError EQU 29204 ;Media Bay, external floppy drive reconnect warning ; System Errors that are used after MacsBug is loaded to put up dialogs since these should not ; cause MacsBug to stop, they must be in the range (30, 42, 16384-32767) negative numbers add ; to an existing dialog without putting up a whole new dialog dsNoExtsMacsBug EQU -1 ;not a SysErr, just a placeholder dsNoExtsDisassembler EQU -2 ;not a SysErr, just a placeholder dsMacsBugInstalled EQU -10 ;say “MacsBug Installed” dsDisassemblerInstalled EQU -11 ;say “Disassembler Installed” dsExtensionsDisabled EQU -13 ;say “Extensions Disabled” dsGreeting EQU 40 ;welcome to Macintosh greeting dsSysErr EQU 32767 ;general system error ;old names here for compatibility’s sake WDEFNFnd EQU 87 CDEFNFnd EQU 88 dsNotThe1 EQU 31 ;not the disk I wanted dsBadStartupDisk EQU 42 ;unable to mount boot volume (sad Mac only) dsSystemFileErr EQU 43 ;can’t find System file to open (sad Mac only) dsHD20Installed EQU -12 ;say “HD20 Startup” mBarNFnd EQU -126 ;system error code for MBDF not found hMenuFindErr EQU -127 ;could not find HMenu's parent in MenuKey userBreak EQU -490 ;user debugger break strUserBreak EQU -491 ;user debugger break; display string on stack exUserBreak EQU -492 ;user debugger break; execute debugger commands on stack ; DS Errors which are specific to the new runtime model introduced with PowerPC dsBadLibrary EQU 1010 ; Bad shared library dsMixedModeFailure EQU 1011 ; Internal Mixed Mode Failure ; ; pascal void SysError(short errorCode) ; IF TARGET_OS_MAC ** TARGET_CPU_68K ** ¬ TARGET_RT_MAC_CFM THEN ; parameters: ; errorCode => D0 _SysError: OPWORD $A9C9 ELSEIF TARGET_OS_MAC ** TARGET_RT_MAC_CFM THEN IMPORT_CFM_FUNCTION SysError ENDIF ENDIF ; __ERRORS__